sessionInfo(package=NULL)
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] backports_1.0.5 magrittr_1.5 rprojroot_1.2 htmltools_0.3.5 tools_3.3.2
[6] base64enc_0.1-3 yaml_2.1.14 Rcpp_0.12.10 stringi_1.1.2 rmarkdown_1.3
[11] knitr_1.15.1 jsonlite_1.4 stringr_1.1.0 digest_0.6.11 evaluate_0.10
To see our GitHub repository, click here.
To see our Shiny application, click here.
This data set is from kaggle. You can find this data here. It provides detailed information about libraries in each state in the United States.
summary(states)
Submission_Year State State_Code Region_Code Service_Population
Min. :2015 Length:51 Min. : 1.00 Min. :1.000 Min. : 582658
1st Qu.:2015 Class :character 1st Qu.:16.50 1st Qu.:3.000 1st Qu.: 1493456
Median :2015 Mode :character Median :29.00 Median :5.000 Median : 4395295
Mean :2015 Mean :28.96 Mean :4.471 Mean : 6181043
3rd Qu.:2015 3rd Qu.:41.50 3rd Qu.:6.000 3rd Qu.: 7475148
Max. :2015 Max. :56.00 Max. :8.000 Max. :38322887
Service_Population_Without_Duplicates State_Population Central_Libraries Branch_Libraries
Min. : 582658 Min. : 582658 Min. : 1.0 Min. : 3.0
1st Qu.: 1472869 1st Qu.: 1743730 1st Qu.: 63.0 1st Qu.: 38.5
Median : 4395295 Median : 4395295 Median :112.0 Median : 95.0
Mean : 6021934 Mean : 6195242 Mean :177.5 Mean :150.4
3rd Qu.: 6764752 3rd Qu.: 6817706 3rd Qu.:237.5 3rd Qu.:207.0
Max. :38322887 Max. :38340074 Max. :755.0 Max. :950.0
Bookmobiles MLS_Librarians Librarians Employees Total_Staff
Min. : 0.00 Min. : 39.88 Min. : 112.5 Min. : 111.0 Min. : 245.3
1st Qu.: 3.00 1st Qu.: 144.50 1st Qu.: 284.2 1st Qu.: 376.4 1st Qu.: 723.2
Median : 7.00 Median : 329.58 Median : 679.9 Median :1210.1 Median : 1817.3
Mean :12.92 Mean : 629.70 Mean : 927.1 Mean :1788.9 Mean : 2716.0
3rd Qu.:17.50 3rd Qu.: 767.76 3rd Qu.:1171.0 3rd Qu.:2340.9 3rd Qu.: 3519.8
Max. :75.00 Max. :3437.24 Max. :4073.9 Max. :8391.0 Max. :12464.9
Local_Government_Operating_Revenue State_Government_Operating_Revenue
Min. :0.000e+00 Min. : 0
1st Qu.:4.424e+07 1st Qu.: 1205048
Median :1.185e+08 Median : 4033130
Mean :2.016e+08 Mean : 16668047
3rd Qu.:2.374e+08 3rd Qu.: 12342780
Max. :1.265e+09 Max. :345037953
Federal_Government_Operating_Revenue Other_Operating_Revenue Total_Operating_Revenue
Min. : 0 Min. : 180898 Min. :1.830e+07
1st Qu.: 247294 1st Qu.: 4018902 1st Qu.:5.172e+07
Median : 497265 Median : 9247116 Median :1.306e+08
Mean : 895589 Mean : 17522202 Mean :2.367e+08
3rd Qu.:1070844 3rd Qu.: 17584116 3rd Qu.:2.848e+08
Max. :5792339 Max. :191656418 Max. :1.355e+09
Salaries Benefits Total_Staff_Expenditures Print_Collection_Expenditures
Min. : 8517104 Min. : 229606 Min. : 10890655 Min. : 1732866
1st Qu.: 24806427 1st Qu.: 8439042 1st Qu.: 33433702 1st Qu.: 3703121
Median : 62750473 Median : 22988790 Median : 85739263 Median :10136582
Mean :109245728 Mean : 39733389 Mean :148979117 Mean :14738013
3rd Qu.:139643819 3rd Qu.: 45490279 3rd Qu.:190242298 3rd Qu.:18743538
Max. :605134988 Max. :281367947 Max. :876111285 Max. :68898041
Digital_Collection_Expenditures Other_Collection_Expenditures Total_Collection_Expenditures
Min. : 158409 Min. : 76731 Min. : 2432733
1st Qu.: 1161444 1st Qu.: 756074 1st Qu.: 5457850
Median : 2887735 Median : 3217904 Median : 15558992
Mean : 5356909 Mean : 4911608 Mean : 25006531
3rd Qu.: 6431658 3rd Qu.: 6629340 3rd Qu.: 34862064
Max. :24944727 Max. :32163245 Max. :112729077
Other_Operating_Expenditures Total_Operating_Expenditures Local_Government_Capital_Revenue
Min. : 3944576 Min. :1.731e+07 Min. : 0
1st Qu.: 9923100 1st Qu.:4.882e+07 1st Qu.: 1998838
Median : 26913847 Median :1.260e+08 Median : 7588520
Mean : 48396075 Mean :2.224e+08 Mean :10798721
3rd Qu.: 56365576 3rd Qu.:2.680e+08 3rd Qu.:16868779
Max. :326843919 Max. :1.286e+09 Max. :50568512
State_Government_Capital_Revenue Federal_Government_Capital_Revenue Other_Capital_Revenue
Min. : 0 Min. : 0 Min. : 0
1st Qu.: 0 1st Qu.: 0 1st Qu.: 310920
Median : 49290 Median : 31980 Median : 1289455
Mean : 2419471 Mean : 495817 Mean : 4071006
3rd Qu.: 1125000 3rd Qu.: 211338 3rd Qu.: 3236141
Max. :25243857 Max. :18521642 Max. :87067000
Total_Capital_Revenue Total_Capital_Expenditures Print_Collection Digital_Collection
Min. : 190956 Min. : 347748 Min. : 1642715 Min. : 22966
1st Qu.: 4831600 1st Qu.: 5074609 1st Qu.: 4679018 1st Qu.: 399830
Median : 9698454 Median : 10372327 Median : 9442086 Median : 1647955
Mean : 17785016 Mean : 22637427 Mean :15056932 Mean : 4194353
3rd Qu.: 23468550 3rd Qu.: 28077506 3rd Qu.:17167508 3rd Qu.: 3683356
Max. :116604806 Max. :126989107 Max. :70815265 Max. :47106859
Audio_Collection Downloadable_Audio Physical_Video Downloadable_Video
Min. : 86416 Min. : 9338 Min. : 119605 Min. : 0
1st Qu.: 230386 1st Qu.: 222568 1st Qu.: 324603 1st Qu.: 5026
Median : 593488 Median : 564568 Median : 814043 Median : 21580
Mean : 893410 Mean : 1300921 Mean :1209907 Mean :105070
3rd Qu.:1130140 3rd Qu.: 1358018 3rd Qu.:1437894 3rd Qu.: 71680
Max. :3530931 Max. :11064932 Max. :5154677 Max. :922536
Local_Cooperative_Agreements State_Licensed_Databases Total_Licensed_Databases
Min. : 0 Min. : 0 Min. : 74
1st Qu.: 395 1st Qu.: 1785 1st Qu.: 2810
Median : 888 Median : 4275 Median : 5003
Mean : 1909 Mean : 6252 Mean : 8161
3rd Qu.: 1865 3rd Qu.: 8093 3rd Qu.:11726
Max. :17442 Max. :26371 Max. :28951
Print_Subscriptions Hours_Open Library_Visits Reference_Transactions
Min. : 2071 Min. : 65208 Min. : 2186038 Min. : 373837
1st Qu.: 6368 1st Qu.: 293115 1st Qu.: 7430782 1st Qu.: 911614
Median : 14972 Median : 551274 Median : 18178677 Median : 3483395
Mean : 26915 Mean : 721113 Mean : 27947560 Mean : 5157088
3rd Qu.: 36913 3rd Qu.: 922803 3rd Qu.: 35273654 3rd Qu.: 6240569
Max. :166683 Max. :2392554 Max. :164300175 Max. :28105028
Registered_Users Circulation_Transactions Interlibrary_Loans_Provided
Min. : 281392 Min. : 3938767 Min. : 0
1st Qu.: 924534 1st Qu.: 9299584 1st Qu.: 57346
Median : 2476596 Median : 27866711 Median : 266163
Mean : 3372037 Mean : 45376494 Mean : 1385314
3rd Qu.: 4122706 3rd Qu.: 61758828 3rd Qu.: 906895
Max. :21723648 Max. :222788583 Max. :11912575
Interlibrary_Loans_Received Library_Programs Childrens_Programs Young_Adult_Programs
Min. : 57 Min. : 7940 Min. : 5265 Min. : 1172
1st Qu.: 62142 1st Qu.: 25835 1st Qu.: 15432 1st Qu.: 2356
Median : 302038 Median : 62120 Median : 37852 Median : 6168
Mean : 1382256 Mean : 87964 Mean : 50464 Mean : 8322
3rd Qu.: 901136 3rd Qu.:101758 3rd Qu.: 64567 3rd Qu.: 9664
Max. :11469527 Max. :500005 Max. :213468 Max. :55526
Library_Program_Audience Childrens_Program_Audience Young_Adult_Program_Audience
Min. : 183507 Min. : 145049 Min. : 12589
1st Qu.: 609558 1st Qu.: 388609 1st Qu.: 33708
Median :1396310 Median :1032396 Median : 94146
Mean :2000421 Mean :1376584 Mean :131304
3rd Qu.:2450672 3rd Qu.:1725636 3rd Qu.:160931
Max. :9491467 Max. :6909344 Max. :725295
Public_Internet_Computers Internet_Computer_Use Wireless_Internet_Sessions Start_Date
Min. : 524 Min. : 577405 Min. : -1 Length:51
1st Qu.: 1556 1st Qu.: 1895499 1st Qu.: 198808 Class :character
Median : 4726 Median : 4465464 Median : 1266660 Mode :character
Mean : 5610 Mean : 6320727 Mean : 2926421
3rd Qu.: 6724 3rd Qu.: 7600968 3rd Qu.: 4223684
Max. :21735 Max. :35000501 Max. :15224387
End_Date
Length:51
Class :character
Mode :character
This data is a subset of the library data that was re-configured to make Digital Cost, Other Cost, Print Cost, and Total Cost to be a subset of a larger category – Collection Cost Type. This way, the data could be easily grouped on the same visualization.
summary(states_boxplot)
State Category Cost
Length:204 Length:204 Min. : 76731
Class :character Class :character 1st Qu.: 2429076
Mode :character Mode :character Median : 5843598
Mean : 12503265
3rd Qu.: 15685597
Max. :112729077
This data is a subset of the library data that was re-configured to make Children’s Programs, Young Adult Programs, and Adult Programs to be a subset of a larger category – Program Type. This way, the data could be easily grouped on the same visualization.
summary(Program_Category)
State Program_Category Num_Programs
Length:153 Length:153 Min. : 1172
Class :character Class :character 1st Qu.: 7381
Mode :character Mode :character Median : 22070
Mean : 48917
3rd Qu.: 62120
Max. :500005
This data set is from the census data on data.world. You can find this data here. It provides the number of employed persons in each state.
summary(census_employment)
State Employed
Length:52 Min. : 456640
Class :character 1st Qu.: 1398759
Mode :character Median : 3335384
Mean : 4886644
3rd Qu.: 5501786
Max. :30312429
This data set is from the census data on data.world. You can find this data here. It provides the number of people enrolled in high school in each state.
summary(census_enrollment)
State Enrollment_9to12
Length:52 Min. : 24198
Class :character 1st Qu.: 91860
Mode :character Median : 215712
Mean : 331031
3rd Qu.: 362992
Max. :2216175
This data set is from the census data on data.world. You can find this data here. It provides the median family income in each state.
summary(Median_Family_Income)
State B19119_001
Length:52 Min. :22976
Class :character 1st Qu.:57986
Mode :character Median :65813
Mean :66551
3rd Qu.:74030
Max. :90089
This data set is from Current Results. You can find this data here. It provides the average temperature in each state.
summary(State_Temp_and_Rain)
State Average Temperature Total Hours of Sunlight Clear Days
Length:50 Min. :26.60 Min. :2061 Min. : 58.00
Class :character 1st Qu.:45.25 1st Qu.:2514 1st Qu.: 89.25
Mode :character Median :51.20 Median :2690 Median :100.50
Mean :51.94 Mean :2721 Mean :103.26
3rd Qu.:58.65 3rd Qu.:2924 3rd Qu.:115.00
Max. :70.70 Max. :3806 Max. :193.00
NA's :3
This data set is from Researcher Tools. You can find this data here. It provides useful connections between state names, state codes, and regions.
summary(states_with_regions)
State State Code Region Sub-Region
Length:50 Length:50 Length:50 Length:50
Class :character Class :character Class :character Class :character
Mode :character Mode :character Mode :character Mode :character
This is a map of the United States, color-coded by region. This is not one of our visualizations. It simply shows the regions used in the following two visualizations.